package com.adcc.ags.gms.core.entity;

/**
 * 菜单维护实体
 */
public class Menu extends BaseEntity {

    // ID
    private long id;

    // 菜单名称
    private String name;

    // 是否是叶子(0:否,1:是)
    private int leaf;

    // 父节点ID
    private long parentId;

    // 排列顺序
    private int sortNo;

    // 中文名称
    private String textCN;

    // 英文名称
    private String textEN;

    // 链接地址
    private String url;

    // 备注
    private String remark;

    /**
     * 构造函数
     */
    public Menu() {
    }

    public Menu(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getLeaf() {
        return leaf;
    }

    public void setLeaf(int leaf) {
        this.leaf = leaf;
    }

    public int getSortNo() {
        return sortNo;
    }

    public void setSortNo(int sortNo) {
        this.sortNo = sortNo;
    }

    public String getTextCN() {
        return textCN;
    }

    public void setTextCN(String textCN) {
        this.textCN = textCN;
    }

    public String getTextEN() {
        return textEN;
    }

    public void setTextEN(String textEN) {
        this.textEN = textEN;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
